package com.woniu.account.client;

import com.woniu.account.client.dto.GymBaseDto;
import com.woniu.core.util.Result;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "gym-server",path = "/gym")
public interface GymServerClient {
    @ApiOperation("根据gymNum查询场馆基础信息")
    @GetMapping("/tGymBase/findGymBaseByNum/{gymNum}")
    public Result<GymBaseDto> findGymBaseByNum(@PathVariable("gymNum") String gymNum);


}